import axios from 'axios';

export const getGlobalStyles = async () => {
    try {
        const response = await axios.get('/api/getGlobalStyles');
        return response.data;
    } catch (error) {
        console.error('Failed to fetch global styles:', error);
        return null;
    }
};